import maya.cmds as cmds

cmds.SelectAll();
cmds.Delete();

baseCylinderRadius = 13;
wallthickness_mount = 2.0; #taken from strykercode as a starting point
motorHolesRadius = 7.7/2;
xSeparation = 19.0;
zSeparation = 16.0;

def createScrewMount( x, z):
    motorHoleRadius1 = 3.2/2;#actual = 3 adding fudge 
    motorHoleRadius2 = 6.2/2;#actual = 6 adding fudge
    polyHeight = wallthickness_mount * motorHoleRadius1 / motorHoleRadius2 + wallthickness_mount;
    aHole = cmds.polyCone(constructionHistory= False,radius= motorHoleRadius2,height=polyHeight,subdivisionsX= 24);
    cmds.move(x,(polyHeight/2.0),z);
    return aHole;

h1 = createScrewMount(0,(-zSeparation/2.0));
h2 = createScrewMount(0,(zSeparation/2.0));
h3 = createScrewMount((xSeparation/2.0),0);
h4 = createScrewMount((-xSeparation/2.0),0);